package com.a3dweijing.wetouch2.bean;

import android.support.annotation.NonNull;

import java.io.Serializable;

/**
 * Created by yxd on 2017/11/15.
 */

public class ImageList implements Serializable,Comparable<ImageList> {
    /**
     * three_d_img_id : 24
     * three_d_title : 12312
     * three_d_img_name : 123
     * three_d_img_url : 123
     * three_d_update_time : 66666
     * three_d_location : 123
     * three_d_father : 0
     * row : 0
     * beg : 0
     */

    private int three_d_img_id;
    private String three_d_title;
    private String three_d_img_name;
    private String three_d_img_url;
    private int three_d_update_time;
    private int three_d_location;
    private int three_d_father;
    private int row;
    private int beg;

    public int getThree_d_img_id() {
        return three_d_img_id;
    }

    public void setThree_d_img_id(int three_d_img_id) {
        this.three_d_img_id = three_d_img_id;
    }

    public String getThree_d_title() {
        return three_d_title;
    }

    public void setThree_d_title(String three_d_title) {
        this.three_d_title = three_d_title;
    }

    public String getThree_d_img_name() {
        return three_d_img_name;
    }

    public void setThree_d_img_name(String three_d_img_name) {
        this.three_d_img_name = three_d_img_name;
    }

    public String getThree_d_img_url() {
        return three_d_img_url;
    }

    public void setThree_d_img_url(String three_d_img_url) {
        this.three_d_img_url = three_d_img_url;
    }

    public int getThree_d_update_time() {
        return three_d_update_time;
    }

    public void setThree_d_update_time(int three_d_update_time) {
        this.three_d_update_time = three_d_update_time;
    }

    public int getThree_d_location() {
        return three_d_location;
    }

    public void setThree_d_location(int three_d_location) {
        this.three_d_location = three_d_location;
    }

    public int getThree_d_father() {
        return three_d_father;
    }

    public void setThree_d_father(int three_d_father) {
        this.three_d_father = three_d_father;
    }

    public int getRow() {
        return row;
    }

    public void setRow(int row) {
        this.row = row;
    }

    public int getBeg() {
        return beg;
    }

    public void setBeg(int beg) {
        this.beg = beg;
    }


    @Override
    public int compareTo(@NonNull ImageList o) {
        if (this.getThree_d_location()<o.getThree_d_location())
        {
            return 1;
        }
        return -1;
    }
}
